.chat-container {
  /* max-width: 800px; */
  margin: 0 auto;
  height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  background-color: #f5f5f5;
  padding: 20px;
}

.messages-container {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.message-wrapper {
  margin: 12px 0;
  display: flex;
  gap: 12px;
  width: 100%;
  align-items: flex-start;
}

.message-wrapper.user {
  flex-direction: row-reverse;
}

.message-wrapper .avatar {
  flex-shrink: 0;
}

.message {
  display: flex;
  flex-direction: column;
}

.message.user {
  align-items: flex-end;
}

.message.expert {
  align-items: flex-start;
}

.message p {
  max-width: 70%;
  padding: 10px 16px;
  border-radius: 4px;
  margin: 0;
  word-wrap: break-word;
}

.message.user p {
  background-color: #95ec69;
  color: #000;
  border-radius: 16px 0 16px 16px;
}

.message.expert p {
  background-color: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 0 16px 16px 16px;
}

.message .ant-image {
  max-width: 70%;
}

.input-container {
  display: flex;
  align-items: center;
  background-color: white;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.input-container .ant-input {
  margin: 0 12px;
  border-radius: 20px;
  background-color: #f5f5f5;
}

.input-container .ant-btn {
  border-radius: 20px;
}

.upload-button {
  color: #666;
  font-size: 20px;
}
